package com.work.service;

import com.work.common.enums.UserClockRecordType;
import com.work.entity.UserClock;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

public interface UserClockService {
    //    上班下班打卡接口
    Boolean userClock();

    //    查询某个人的打卡记录
    List<UserClock> getUserClockRecord(LocalDateTime date, UserClockRecordType userClockRecordType);

    //    查询用户每个月未打卡记录
    List<UserClock> getUserClockRecord(LocalDateTime date);

    //    统计用户每年未打卡数量
    long getUserUnClockCount(LocalDate date);
}
